<!doctype html>
<html lang="en">
	<head>
		<meta charset="UTF-8" />
		<title>
			Document
		</title>
		<hdjs/>
	</head>
	<body>
		<div class="wrap">
			<div class="menu_list">
				<ul>
					<li>
						<a href="{|U:'GoodsType/Index'}">
							商品类型
						</a>
					</li>
					<li>
						<a href="{|U:'index',array('gtid'=>$gtid)}"  class="action">
							属性列表
						</a>
					</li>
					<li>
						<a href="{|U:'add',array('gtid'=>$gtid)}">
							添加属性
						</a>
					</li>
				</ul>
			</div>
			<table class="table2">
				<thead>
					<tr>
						<td class="w80">
							aid
						</td>
						<td>
							属性名称
						</td>
						<td class="w100">
							操作
						</td>
					</tr>
				</thead>
				<list from='$data' name='d'>
					<tr>
						<td>
							{$d.aid}
						</td>
						<td>
							{$d.attr_name}
						</td>
						<td>
							<a href="{|U:'edit',array('gtid'=>$d['gtid'],'aid'=>$d['aid'])}">
								编辑
							</a> |
							<a href="{|U:'del',array('gtid'=>$d['gtid'],'aid'=>$d['aid'])}">
								删除
							</a>
						</td>
					</tr>
				</list>
			</table>
		</div>
	</body>
</html>
